<?php class ModelPaymentWeipay extends Model {  	public function getMethod($address, $total) {		$this->load->language('payment/weipay');		if ($this->config->get('weipay_total') > 0 && $this->config->get('weipay_total') > $total) {			$status = false;		} else {			$status = true;		}		$method_data = array();		if ($status) {  			$method_data = array( 				'code'         => 'weipay',				'title'      => $this->language->get('text_title'),				'terms'      => '',				'sort_order' => $this->config->get('weipay_sort_order')			);		}		return $method_data;	}}?>